package com.zyw.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-20 
 */

@Setter
@Getter
@ToString
@Entity
@Table ( name ="procurement_material_analysis" )
public class ProcurementMaterialAnalysis  implements Serializable {

	private static final long serialVersionUID =  7233018852466856347L;

	/**
	 * 订单ID
	 */
   	@Column(name = "order_id" )
	private String orderId;

	/**
	 * 面料id
	 */
   	@Column(name = "lining_id" )
	private Integer liningId;

   	@Transient
	private String liningName;

	/**
	 * 面料数量
	 */
   	@Column(name = "lining_num" )
	private Integer liningNum;

	/**
	 * 面料小计
	 */
   	@Column(name = "lining_subtotal" )
	private String liningSubtotal;

	/**
	 * 面料OR辅料（1,0）
	 */
   	@Column(name = "lining_type" )
	private Integer liningType;

	/**
	 * 面料单价
	 */
	@Column(name = "lining_price" )
	private String liningPrice;

}
